<template>
    <div>{{ myText }}</div>
    <div v-text="myText"></div>
    <div v-html="myText"></div>
    <button @click="changeText">Change Text</button>
</template>
<script setup>
  import { ref } from 'vue'
  const myText = ref('<h1>Hello World</h1>')

  const changeText = () => {
    myText.value = '<h2>江西南昌欢迎您！</h2>'
  }
</script>
<style scoped>  

</style>